<template>
  <div>
    <div class="singer-cube">
      <div class="singer-cube-name">
        <span>{{ data.artist.name }}</span>
      </div>
      <div class="singer-cube-desc">
        <img :src="data.artist.cover" alt="" />
        <div class="singer-gold" style="white-space: pre-line;">{{detail.introduction[1].txt}}</div>
        <hr />
      </div>
      <p class="p-desc">歌手简介:</p>
      <p class="p-desc-detail">{{ data.artist.briefDesc }}</p>
    </div>
  </div>
</template>

<script>
export default {
  props: ["data",'detail'],
};
</script>

<style lang="scss" scoped>
.singer-cube {
  margin: 20px 10px 0 0;
}
.singer-cube-name {
  margin: 0 auto;
  width: 110%;
  height: 30px;
  font-size: 20px;
  padding-left:10px ;
  box-sizing: border-box;
  background-image: linear-gradient(#fff, #ccc);
  line-height: 30px;
  color: rgb(77, 77, 77);
}
.singer-cube img {
  border-radius: 7px;
  box-shadow: 10px 10px 5px rgb(161, 161, 161);
  width: 320px;
  margin: 20px 0 20px 15px;
}
.singer-cube-desc{
  display: flex;
}
.singer-gold{
  height: 270px;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 20px 0 0 20px;
}
.p-desc{
  margin: 0 auto;
  padding-left:10px ;
  width: 110%;
  height: 30px;
  height: 30px;
  font-size: 20px;
  box-sizing: border-box;
  background-image: linear-gradient(#fff, #ccc);
  line-height: 30px;
  color: rgb(77, 77, 77);
}
.p-desc-detail{
  margin: 20px 0 0 15px;
  line-height: 24px;
  margin-top:15px ;
}
</style>
